<?php

namespace app\manage\libs;

use yiqiniu\extend\library\Token;

class ManageToken extends Token
{
    private static $_instance = null;


    public static function getInstance()
    {
        if (self::$_instance === null) {
            $tokens = config('config.token', []);
            $jwtKey = $tokens['jwt'];
            self::$_instance = new static($jwtKey);
        }
        return self::$_instance;
    }


}